import type { PageLoad } from "./$types";

export const load = (async ({ parent, url, params }) => {
  let data = await parent();
  console.log('data=>', data, url, params)
  return {
    title: data.menu_name || "数据集概览",
    baseUrl: url.pathname.replace(`/${params.tab}`, "")
  };
}) satisfies PageLoad;
